<template>
  <view>
    <test :title="title" :name="name"></test>
  </view>
</template>

<script>
import test from '@/components/test.vue'; // 假设test组件路径正确
export default {
  components: {
    test
  },
  data() {
    return {
      title: '示例标题',
      name: '示例名称'
    };
  }
}
</script>